<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	<link rel="stylesheet" href="app/Home/View/360Qanswer/Css/common.css" />
	<script type="text/javascript" src='app/Home/View/360Qanswer/Js/jquery-1.7.2.min.js'></script>
	<script type="text/javascript" src='app/Home/View/360Qanswer/Js/top-bar.js'></script>
	<link rel="stylesheet" href="app/Home/View/360Qanswer/Css/question.css" />
	<script type="text/javascript" src="app/Home/View/360Qanswer/Js/question.js"></script>
</head>
<body>
{{php}}require "app/Home/View/360Qanswer/header.html"; {{/php}}
<!-- top 结束-->
	<div id='location'>
<!-- 		<a href="">全部分类</a>
			&gt;&nbsp;电脑&nbsp;&nbsp;
			&gt;&nbsp;<a href="">硬件</a>&nbsp;&nbsp; -->

		<a href="">全部分类</a>
			&gt;&nbsp;电脑&nbsp;&nbsp;
			<!-- 提问的时候应该已经得到分类的id值，就能够关联到分类表,当点击问题跳转到显示回答页面时 -->
			&gt;&nbsp;<a href=""></a>&nbsp;&nbsp;			
	</div>

<!--------------------中部-------------------->
	<div id='center-wrap'>
		<div id='center'>
			<div id='left'>
				<div id='answer-info'>
					<!-- 如果没有解决用wait -->
					<div class='ans-state wait'></div>
					<div class='answer'>

							<p class='ans-title'>{{$field.content}}
							<b class='point'>20</b>
						</p>
					</div>
					<ul>
						<li><a href="">{{$field.content}}</a></li>
						<li><i class='level lv1' title='Level 1'></i></li>
						<li>1900.1.1</li>						
					</ul>
					<ul>
						<li>发布时间：{{$field.create_at|date_format:'%Y-%m-%d %H:%M'}}</li>
					</ul>
					<!-- 前端页面判断，如果是自己提出的问题，回答框不显示 -->
					{{if $smarty.session.id neq $field.user_id}}
					<div class='ianswer'>
						<form action="?c=Answer&a=answer" method='POST'>
							<p>我来回答</p>
							<textarea name="content" value=></textarea>
							<!-- 隐藏域，当表单提交的时候，把当前的aid一起发送过去，不在地址栏显示 -->
							<input type="hidden" name='aid' value='{{$field.id}}'>
							<input type="submit" value='提交回答' id='anw-sub'/>
						</form>
					</div>
					{{/if}}
					<br/>

					<!-- 满意回答 -->
					<div class='ans-right'>
						<p class='title'><i></i>满意回答<span></span></p>
						<p class='ans-cons'>很不错！</p>
						<dl>
							<dt>
								<a href=""><img src="./Images/noface.gif" width='48' height='48'/></a>
							</dt>
							<dd>
								<a href="">用户</a>
							</dd>
							<dd><i class='level lv1'></i></dd>
							<dd>20%</dd>
						</dl>
					</div>
					<!-- 满意回答 -->
				</div>

				<div id='all-answer'>
					<div class='ans-icon'></div>
					<p class='title'>共 <strong>20</strong> 条回答</p>
					<ul>
					{{foreach name=k item=v from=$answer}}
						<li>
							<div class='face'>
								<a href="">
								用户:{{$v.user_id}}
									<!-- <img src="Images/noface.gif" width='48' height='48'/> -->
								</a>
							</div>
							<div class='cons blue'>
								<p>{{$v.content}}<span style='color:#888;font-size:12px'>&nbsp;&nbsp;(1900.1.1)</span></p>
								<span>回答时间: {{$field.create_at|date_format:'%Y-%m-%d %H:%M'}}</span>
							</div>
							
							<a href="" class='adopt-btn'>采纳</a>
							
						</li>
					{{/foreach}}
<!-- 						<li>
							<div class='face'>
								<a href="">
									<img src="./Images/noface.gif" width='48' height='48'/>
								</a>
							</div>
							<div class='cons blue'>
								<p>真不错啊！<span style='color:#888;font-size:12px'>&nbsp;&nbsp;(1900.1.1)</span></p>
							</div>
							
								<a href="" class='adopt-btn'>采纳</a>
							
						</li> -->
					</ul>
					<div class='page'>
						<a href="">1</a>
						<a href="">2</a>
						<a href="">3</a>
						<a href="">4</a>
					</div>
				</div>
				<div id='other-ask'>
					<p class='title'>待解决的相关问题</p>
					<table>
						<tr>
							<td class='t1'><a href="">什么牌子电脑好？</a></td>
							<td>20&nbsp;回答</td>
							<td>1900.1.1</td>
						</tr>
					</table>
				</div>
			</div>
		<!-- 右侧 -->
		<div id='right'>
		<div class='userinfo'>
			<dl>
				<dt>
					<a href=""><img src="" width='48' height='48' alt="占位符"/></a>
				</dt>
				<dd class='username'>
					<a href="">
						<b></b>
					</a>
					<a href="">
						<i class='level lv1' title='Level 1'></i>
					</a>
				</dd>
				<dd>金币：<a href="" style="color: #888888;">20<b class='point'></b></a></dd>
				<dd>经验值：200</dd>
			</dl>
			<table>
				<tr>
					<td>回答数</td>
					<td>采纳率</td>
					<td class='last'>提问数</td>
				</tr>
				<tr>
					<td><a href="">200</a></td>
					<td><a href="">20%</a></td>
					<td class='last'><a href="">回答数</a></td>
				</tr>
			</table>
			<ul>
				<li><a href="">我提问的</a></li>
				<li><a href="">我回答的</a></li>
			</ul>
		</div>
		<!-- <div class='r-login'>
			<span class='login'><i></i>&nbsp;登录</span>
			<span class='register'><i></i>&nbsp;注册</span>
		</div> -->
	<div class='clear'></div>
	<div class='star'>
		<p class='title'>后盾问答之星</p>
		<span class='star-name'>本日回答问题最多的人</span>
			<div class='star-info'>
				<div>
					<a href="" class='star-face'>
						<img src="" width='48px' height='48px' alt="头像站位"/>
					</a>
					<ul>
						<li><a href="">后盾网</a></li>
						<i class='level lv1' title='Level 1'></i>
					</ul>
				</div>
				<ul class='star-count'>
					<li>回答数：<span>100</span></li>
					<li>采纳率：<span>20%</span></li>
				</ul>
			</div>
		<span class='star-name'>历史回答问题最多的人</span>

		<div class='star-info'>
			<div>
				<a href="" class='star-face'>
					<img src="" width='48px' height='48px' alt="头像站位"/>
				</a>
				<ul>
					<li><a href="">后盾网</a></li>
					<i class='level lv1' title='Level 1'></i>
				</ul>
			</div>
			<ul class='star-count'>
				<li>回答数：<span>200</span></li>
				<li>采纳率：<span>100%</span></li>
			</ul>
		</div>
	</div>
	<div class='star-list'>
		<p class='title'>后盾问答助人光荣榜</p>
		<div>
			<ul class='ul-title'>
				<li>用户名</li>
				<li style='text-align:right;'>帮助过的人数</li>
			</ul>
			<ul class='ul-list'>
				<li>
					<a href=""><i class='rank r1'></i>houdunwang.com</a>
					<span>100</span>
				</li>
				<li>
					<a href=""><i class='rank r2'></i>houdunwang.com</a>
					<span>100</span>
				</li>
				<li>
					<a href=""><i class='rank r3'></i>houdunwang.com</a>
					<span>100</span>
				</li>				
			</ul>
		</div>
	</div>
</div>
<!-- ---右侧结束---- -->
			
		</div>

	</div>
	
<!--------------------中部结束-------------------->

<!-- 底部 -->
	<div id='bottom'>
		<p>Copyright © 2013 Qihoo.Com All Rights Reserved 后盾网</p>
		<p>京公安网备xxxxxxxxxxxx</p>
	</div>
<!--[if IE 6]>
    <script type="text/javascript" src="./Js/iepng.js"></script>
    <script type="text/javascript">
    	DD_belatedPNG.fix('.logo','background');
        DD_belatedPNG.fix('.nav-sel a','background');
        DD_belatedPNG.fix('.ask-cate i','background');
    </script>
<![endif]-->
</body>
</html>
<!-- 底部结束 -->